<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>Customer Register</title>
</head>
<body>
	<f:view>
		<h:form>
			<h3>Input following information to register an account:</h3>
			<p>
			    Account:
			    <h:inputText value="#{user.account}" />
			<p>
			<p>
				Name:
				<h:inputText value="#{customer.name}" />
			<p>
				Address:
				<h:inputText value="#{customer.address}" />
			<p>
				Telephone:
				<h:inputText value="#{customer.telephone}" />
			<p>
			
			<p>
			    Password:
			    <h:inputSecret value="#{user.password}"/>
			<p>
			<p>
			   Input password again:
			   <h:inputSecret value="#{}"/>
			<p>
				<h:commandButton value="Register" action="#{caction.Register}" />
		</h:form>
	</f:view>
</body>
</html>